package com.tmz.cloudmall.cloudmallcoupon.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tmz.cloudmall.cloudmallcommon.common.annotation.Excel;
import com.tmz.cloudmall.cloudmallcommon.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 秒杀活动对象 sms_seckill_promotion
 * 
 * @author tmz
 * @date 2025-08-16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SeckillPromotion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String title;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 上下线状态 */
    @Excel(name = "上下线状态")
    private Long status;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long userId;

}
